package com.own.business.message.center.entity.query;

import com.own.component.common.base.entity.BaseQuery;
import com.own.constant.ConstantBeanSuffix;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * MessageCenterContentQuery
 *
 * @author chenxueli
 * @date 2023-11-13 14:39:27
 */
@Schema(title = "消息中心内容" + ConstantBeanSuffix.QUERY)
@Getter
@Setter
@ToString
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class MessageCenterContentQuery extends BaseQuery implements Serializable {

    @Schema(title = "接收消息的用户id")
    private Long receiveId;

    @Schema(title = "消息内容（展示的一小部分）")
    private String content;

    @Schema(title = "分组key")
    private String groupKey;

    @Schema(title = "消息key")
    private String messageKey;

    @Schema(title = "消息keys")
    private List<String> messageKeyList;

    @Schema(title = "业务id")
    private Long businessId;

    @Schema(title = "是否已读（0=未读 1=已读）")
    private Integer isRead;

}
